package cn.chia.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import cn.chia.back.dao.IAdminDAO;
import cn.chia.pojo.TblUser;
import cn.chia.service.IAdminService;

@Service
public class AdminServiceImpl implements IAdminService {

	private IAdminDAO adminDAOImpl;
	
	public TblUser login(TblUser tuser) throws Exception {
		return adminDAOImpl.login(tuser);
	}

	@Resource(name="adminDAOImpl")
	public void setAdminDAOImpl(IAdminDAO adminDAOImpl) {
		this.adminDAOImpl = adminDAOImpl;
	}
	
	

}
